package authority.comm;

import java.io.Serializable;

/**
 * 用于传递信息实体类
 * @author shichenyang
 *
 */
public class Message implements Serializable{
	private static final long serialVersionUID = 2716510964748516311L;
	/**
	 * 消息状态
	 */
	private boolean state=false;
	/**
	 * 消息信息
	 */
	private String meg;
	/**
	 * 消息数据
	 */
	private Object o;
	public Message() {
		super();
	}
	public Message(boolean state, String meg, Object o) {
		super();
		this.state = state;
		this.meg = meg;
		this.o = o;
	}
	public boolean isState() {
		return state;
	}
	public void setState(boolean state) {
		this.state = state;
	}
	public String getMeg() {
		return meg;
	}
	public void setMeg(String meg) {
		this.meg = meg;
	}
	public Object getO() {
		return o;
	}
	public void setO(Object o) {
		this.o = o;
	}
	
	
}
